
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-daipingjia"></i>
                    <div class="name">待评价</div>
                    <div class="fontclass">.icon-daipingjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang"></i>
                    <div class="name">收藏</div>
                    <div class="fontclass">.icon-shoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon"></i>
                    <div class="name">订单</div>
                    <div class="fontclass">.icon-icon</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daishouhuo"></i>
                    <div class="name">待收货</div>
                    <div class="fontclass">.icon-daishouhuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-kefu"></i>
                    <div class="name">客服</div>
                    <div class="fontclass">.icon-kefu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-toubaoshixiaoda"></i>
                    <div class="name">投保失效_大</div>
                    <div class="fontclass">.icon-toubaoshixiaoda</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wancheng"></i>
                    <div class="name">完成</div>
                    <div class="fontclass">.icon-wancheng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-qiche"></i>
                    <div class="name">汽车</div>
                    <div class="fontclass">.icon-qiche</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daifukuan"></i>
                    <div class="name">待付款</div>
                    <div class="fontclass">.icon-daifukuan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xunjia"></i>
                    <div class="name">询价</div>
                    <div class="fontclass">.icon-xunjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wodexunjiadan"></i>
                    <div class="name">我的询价单</div>
                    <div class="fontclass">.icon-wodexunjiadan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dingdan"></i>
                    <div class="name">订单</div>
                    <div class="fontclass">.icon-dingdan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xunjiaxuanzhong"></i>
                    <div class="name">询价（选中）</div>
                    <div class="fontclass">.icon-xunjiaxuanzhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baojiazhong"></i>
                    <div class="name">报价中</div>
                    <div class="fontclass">.icon-baojiazhong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">search</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add_circle"></i>
                    <div class="name">add_circle</div>
                    <div class="fontclass">.icon-add_circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bin"></i>
                    <div class="name">bin</div>
                    <div class="fontclass">.icon-bin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow_lift"></i>
                    <div class="name">arrow_lift</div>
                    <div class="fontclass">.icon-arrow_lift</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cancel-circle"></i>
                    <div class="name">cancel-circle</div>
                    <div class="fontclass">.icon-cancel-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-left"></i>
                    <div class="name">arrow-left2</div>
                    <div class="fontclass">.icon-arrow-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-right"></i>
                    <div class="name">arrow-right2</div>
                    <div class="fontclass">.icon-arrow-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-check_circle"></i>
                    <div class="name">check_circle</div>
                    <div class="fontclass">.icon-check_circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cart"></i>
                    <div class="name">cart</div>
                    <div class="fontclass">.icon-cart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checkbox-unchecked"></i>
                    <div class="name">checkbox-unchecked</div>
                    <div class="fontclass">.icon-checkbox-unchecked</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checkmark"></i>
                    <div class="name">checkmark</div>
                    <div class="fontclass">.icon-checkmark</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checkbox-checked"></i>
                    <div class="name">checkbox-checked</div>
                    <div class="fontclass">.icon-checkbox-checked</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-command"></i>
                    <div class="name">command</div>
                    <div class="fontclass">.icon-command</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ctrl"></i>
                    <div class="name">ctrl</div>
                    <div class="fontclass">.icon-ctrl</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-favorite"></i>
                    <div class="name">favorite</div>
                    <div class="fontclass">.icon-favorite</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-eject"></i>
                    <div class="name">eject</div>
                    <div class="fontclass">.icon-eject</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-home"></i>
                    <div class="name">home3</div>
                    <div class="fontclass">.icon-home</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-keyboard_arrow_right"></i>
                    <div class="name">keyboard_arrow_right</div>
                    <div class="fontclass">.icon-keyboard_arrow_right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-minus"></i>
                    <div class="name">minus</div>
                    <div class="fontclass">.icon-minus</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radio-checked"></i>
                    <div class="name">radio-checked</div>
                    <div class="fontclass">.icon-radio-checked</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus"></i>
                    <div class="name">plus</div>
                    <div class="fontclass">.icon-plus</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radio-unchecked"></i>
                    <div class="name">radio-unchecked</div>
                    <div class="fontclass">.icon-radio-unchecked</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-remove_circle_outlin"></i>
                    <div class="name">remove_circle_outlin</div>
                    <div class="fontclass">.icon-remove_circle_outlin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shopping_cart"></i>
                    <div class="name">shopping_cart</div>
                    <div class="fontclass">.icon-shopping_cart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star-empty"></i>
                    <div class="name">star-empty</div>
                    <div class="fontclass">.icon-star-empty</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-star-full"></i>
                    <div class="name">star-full</div>
                    <div class="fontclass">.icon-star-full</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-thumb_down"></i>
                    <div class="name">thumb_down</div>
                    <div class="fontclass">.icon-thumb_down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-thumb_up"></i>
                    <div class="name">thumb_up</div>
                    <div class="fontclass">.icon-thumb_up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-spinner"></i>
                    <div class="name">spinner</div>
                    <div class="fontclass">.icon-spinner</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
